﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MVCTippSpielManagement.Management.Interfaces;

namespace MVCTippSpielManagement.Management.Model
{
	public class ModelMainMenu : IModel
	{
		private IModelAdapter _Controller;



		#region IModel Member

		public void SetController(IModelAdapter a)
		{
			_Controller = a;
		}

		public object ModelFactory(string key)
		{
			switch (key)
			{
				case "GetMainMenuItems":
					return MyApplication.Instance.UserMenuEntries;
				default:
					return "test";
			}
		}

		#endregion
	}
}
